
package net.badcurrent.ldapodm.ldap;

import org.springframework.ldap.AttributesMapper;

import javax.naming.directory.Attributes;
import javax.naming.NamingException;

/**
 * Dummy <code>AttributesMapper</code> to pass back the given attributes unmodified.
 *
 * @author John D'Emic <john.demic@gmail.com>
 */
public class PassThroughAttributesMapper implements AttributesMapper {
    public Object mapFromAttributes(Attributes attributes) throws NamingException {
        return attributes;
    }
}
